group_df <- tibble(
id = 1:1000,
height = rnorm(1000, 170, 6),
weight = rnorm(1000, 80, 10),
eye_colour = sample(c("Blue", "Green", "Brown", "Grey"),
1000,
replace = T)
)
group_df# A tibble: 1,000 × 4
id height weight eye_colour
<int> <dbl> <dbl> <chr>
1 1 162. 79.1 Blue
2 2 185. 83.3 Green
3 3 176. 94.5 Brown
4 4 174. 86.4 Brown
5 5 175. 76.0 Green
6 6 162. 68.5 Grey
7 7 163. 80.1 Brown
8 8 158. 74.8 Grey
9 9 180. 89.0 Blue
10 10 162. 81.2 Blue
# ℹ 990 more rows